/**
 * Created by LeungZ on 2016/3/23.
 */
import './chart/chart.min.js';
import navigation from './navigation/navigation.drct.js';
import header from './header/header.drct.js';
import notification from './notification/notification.prvd.js';
import article from './article/article.drct.js';
import codeMirror from './code-mirror/code-mirror.drct.js';
import fileUpload from './file-upload/file-upload.drct.js';
import switchBtn from './switch/switch.drct.js';
import color from './color/color.js';
import Alert from './alert/alert.srv.js';
import permission from './permission/permission.drct.js';

export default angular.module("ctg.component",[])
    .directive('ctgNavigation',navigation.factory)
    .directive('ctgHeader',header.factory)
    .provider('ctgNotification',notification)
    .directive('ctgArticle',article.factory)
    .directive('ctgCodeMirror', codeMirror.factory)
    .directive('ctgFileUpload', fileUpload.factory)
    .directive('ctgSwitch', switchBtn.factory)
    .directive('permission', permission.factory)
    .constant('ctgColor', color)
    .service('ctgAlert',Alert)
    .name;
